Skip to content

Conversation

@boorad
Copy link
Collaborator

@boorad boorad commented Jun 5, 2025

fixes #707

@boorad boorad self-assigned this Jun 5, 2025
throw std::runtime_error("Failed to get GCM/OCB auth tag: " + std::string(err_buf));
}

size_t actual_tag_len = static_cast<size_t>(ret);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if I follow why this solves the bug @boorad

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right below here...

@boorad boorad requested a review from renanmav June 14, 2025 23:05
@boorad boorad merged commit 2c08d49 into main Jun 16, 2025
5 checks passed
@boorad boorad deleted the fix/gcm-tag-length branch June 16, 2025 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 Incorrect tag length in GCM mode

3 participants